//
//  CPSCAll2CategoryRightView.h
//  CollTest
//
//  Created by codew on 11/10/21.
//

#import <UIKit/UIKit.h>
#import "CPSCAll2CategoryVC_Constants.h"
NS_ASSUME_NONNULL_BEGIN




@class CPSCAll2CategoryRightViewUIModel;
/** 点击推荐 */
typedef void(^CPSCAll2CategoryRightViewRecommendBlock)(id<CPSCAll2CategoryRightViewUIModelProtocol> dataItem);
/** 点击三级分类 */
typedef void(^CPSCAll2CategoryRightViewCategoryBlock)(id<CPSCAll2CategoryRightViewUIModelProtocol> dataItem);
/** 上下切换 */
typedef void(^CPSCAll2CategoryRightViewSwitchBlock)(CPSCAll2CategoryViewSwitchType type);

@interface CPSCAll2CategoryRightView : UIView

+ (instancetype)viewRight;

- (void)updateViewWithItem:(CPSCAll2CategoryRightViewUIModel *)modelUI;
/** 点击推荐 */
@property (nonatomic, copy) CPSCAll2CategoryRightViewRecommendBlock blockSelectRecommend;
/** 点击三级分类 */
@property (nonatomic, copy) CPSCAll2CategoryRightViewCategoryBlock blockCategory;
/** 上下切换 */
@property (nonatomic, copy) CPSCAll2CategoryRightViewSwitchBlock blockSwitch;

- (void)resetView;
@end

NS_ASSUME_NONNULL_END
